package com.neusoft.neuiotms.dcam.fixed.service;

import java.util.List;

import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcam.fixed.dto.StockDTO;

public interface StockService {

    List<StockDTO> findAll();

    Page<StockDTO> search(Pageable pageable, Searchable searchable);

    StockDTO create(StockDTO dto);

    StockDTO update(Long id, StockDTO dto);

    StockDTO details(Long id);

    void delete(Long id);

    Workbook export(Searchable searchable, Pageable pageable);

    Workbook downloadStockQuery(Searchable searchable, Pageable pageable);

}
